home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / u_man / cat1 / perlfaq.z / perlfaq
Encoding:
Text File  |  2002-10-03  |  8.9 KB  |  265 lines

  1.  
  2.  
  3.  
  4. PPPPEEEERRRRLLLLFFFFAAAAQQQQ((((1111))))                                                          PPPPEEEERRRRLLLLFFFFAAAAQQQQ((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      perlfaq - frequently asked questions about Perl ($Date: 2002/05/07
  10.      00:07:32 $)
  11.  
  12. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  13.      This document is structured into the following sections:
  14.  
  15.      perlfaq: Structural overview of the FAQ.
  16.           This document.
  17.  
  18.      the _p_e_r_l_f_a_q_1 manpage: General Questions About Perl
  19.           Very general, high-level information about Perl.
  20.  
  21.      the _p_e_r_l_f_a_q_2 manpage: Obtaining and Learning about Perl
  22.           Where to find source and documentation to Perl, support, and related
  23.           matters.
  24.  
  25.      the _p_e_r_l_f_a_q_3 manpage: Programming Tools
  26.           Programmer tools and programming support.
  27.  
  28.      the _p_e_r_l_f_a_q_4 manpage: Data Manipulation
  29.           Manipulating numbers, dates, strings, arrays, hashes, and
  30.           miscellaneous data issues.
  31.  
  32.      the _p_e_r_l_f_a_q_5 manpage: Files and Formats
  33.           I/O and the "f" issues: filehandles, flushing, formats and footers.
  34.  
  35.      the _p_e_r_l_f_a_q_6 manpage: Regexps
  36.           Pattern matching and regular expressions.
  37.  
  38.      the _p_e_r_l_f_a_q_7 manpage: General Perl Language Issues
  39.           General Perl language issues that don't clearly fit into any of the
  40.           other sections.
  41.  
  42.      the _p_e_r_l_f_a_q_8 manpage: System Interaction
  43.           Interprocess communication (IPC), control over the user-interface
  44.           (keyboard, screen and pointing devices).
  45.  
  46.      the _p_e_r_l_f_a_q_9 manpage: Networking
  47.           Networking, the Internet, and a few on the web.
  48.  
  49.      WWWWhhhheeeerrrreeee ttttoooo ggggeeeetttt tttthhhhiiiissss ddddooooccccuuuummmmeeeennnntttt
  50.  
  51.      This document is posted regularly to comp.lang.perl.announce and several
  52.      other related newsgroups.  It is available in a variety of formats from
  53.      CPAN in the /CPAN/doc/FAQs/FAQ/ directory, or on the web at
  54.      http://www.perl.com/perl/faq/ .
  55.  
  56.      HHHHoooowwww ttttoooo ccccoooonnnnttttrrrriiiibbbbuuuutttteeee ttttoooo tttthhhhiiiissss ddddooooccccuuuummmmeeeennnntttt
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. PPPPEEEERRRRLLLLFFFFAAAAQQQQ((((1111))))                                                          PPPPEEEERRRRLLLLFFFFAAAAQQQQ((((1111))))
  71.  
  72.  
  73.  
  74.      You may mail corrections, additions, and suggestions to perlfaq-
  75.      suggestions@perl.com .  This alias should not be used to _a_s_k FAQs.  It's
  76.      for fixing the current FAQ.
  77.  
  78.      WWWWhhhhaaaatttt wwwwiiiillllllll hhhhaaaappppppppeeeennnn iiiiffff yyyyoooouuuu mmmmaaaaiiiillll yyyyoooouuuurrrr PPPPeeeerrrrllll pppprrrrooooggggrrrraaaammmmmmmmiiiinnnngggg pppprrrroooobbbblllleeeemmmmssss ttttoooo tttthhhheeee
  79.      aaaauuuutttthhhhoooorrrrssss
  80.  
  81.      Your questions will probably go unread, unless they're suggestions of new
  82.      questions to add to the FAQ, in which case they should have gone to the
  83.      perlfaq-suggestions@perl.com instead.
  84.  
  85.      You should have read section 2 of this faq.  There you would have learned
  86.      that comp.lang.perl.misc is the appropriate place to go for free advice.
  87.      If your question is really important and you require a prompt and correct
  88.      answer, you should hire a consultant.
  89.  
  90. CCCCrrrreeeeddddiiiittttssss
  91.      When I first began the Perl FAQ in the late 80s, I never realized it
  92.      would have grown to over a hundred pages, nor that Perl would ever become
  93.      so popular and widespread.  This document could not have been written
  94.      without the tremendous help provided by Larry Wall and the rest of the
  95.      Perl Porters.
  96.  
  97. AAAAuuuutttthhhhoooorrrr aaaannnndddd CCCCooooppppyyyyrrrriiiigggghhhhtttt IIIInnnnffffoooorrrrmmmmaaaattttiiiioooonnnn
  98.      Copyright (c) 1997, 1998 Tom Christiansen and Nathan Torkington.  All
  99.      rights reserved.
  100.  
  101.      BBBBuuuunnnnddddlllleeeedddd DDDDiiiissssttttrrrriiiibbbbuuuuttttiiiioooonnnnssss
  102.  
  103.      When included as part of the Standard Version of Perl, or as part of its
  104.      complete documentation whether printed or otherwise, this work may be
  105.      distributed only under the terms of Perl's Artistic License.  Any
  106.      distribution of this file or derivatives thereof _o_u_t_s_i_d_e of that package
  107.      require that special arrangements be made with copyright holder.
  108.  
  109.      Irrespective of its distribution, all code examples in these files are
  110.      hereby placed into the public domain.  You are permitted and encouraged
  111.      to use this code in your own programs for fun or for profit as you see
  112.      fit.  A simple comment in the code giving credit would be courteous but
  113.      is not required.
  114.  
  115.      DDDDiiiissssccccllllaaaaiiiimmmmeeeerrrr
  116.  
  117.      This information is offered in good faith and in the hope that it may be
  118.      of use, but is not guaranteed to be correct, up to date, or suitable for
  119.      any particular purpose whatsoever.  The authors accept no liability in
  120.      respect of this information or its use.
  121.  
  122. CCCChhhhaaaannnnggggeeeessss
  123.      22/June/98
  124.          Significant changes throughout in preparation for the 5.005 release.
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. PPPPEEEERRRRLLLLFFFFAAAAQQQQ((((1111))))                                                          PPPPEEEERRRRLLLLFFFFAAAAQQQQ((((1111))))
  137.  
  138.  
  139.  
  140.      24/April/97
  141.          Style and whitespace changes from Chip, new question on reading one
  142.          character at a time from a terminal using POSIX from Tom.
  143.  
  144.      23/April/97
  145.          Added http://www.oasis.leo.org/perl/ to the _p_e_r_l_f_a_q_2 manpage.  Style
  146.          fix to the _p_e_r_l_f_a_q_3 manpage.  Added floating point precision, fixed
  147.          complex number arithmetic, cross-references, caveat for Text::Wrap,
  148.          alternative answer for initial capitalizing, fixed incorrect regexp,
  149.          added example of Tie::IxHash to the _p_e_r_l_f_a_q_4 manpage.  Added example
  150.          of passing and storing filehandles, added commify to the _p_e_r_l_f_a_q_5
  151.          manpage.  Restored variable suicide, and added mass commenting to the
  152.          _p_e_r_l_f_a_q_7 manpage.  Added Net::Telnet, fixed backticks, added
  153.          reader/writer pair to telnet question, added FindBin, grouped module
  154.          questions together in the _p_e_r_l_f_a_q_8 manpage.  Expanded caveats for the
  155.          simple URL extractor, gave LWP example, added CGI security question,
  156.          expanded on the mail address answer in the _p_e_r_l_f_a_q_9 manpage.
  157.  
  158.      25/March/97
  159.          Added more info to the binary distribution section of the _p_e_r_l_f_a_q_2
  160.          manpage.  Added Net::Telnet to the _p_e_r_l_f_a_q_6 manpage.  Fixed typos in
  161.          the _p_e_r_l_f_a_q_8 manpage.  Added mail sending example to the _p_e_r_l_f_a_q_9
  162.          manpage.  Added Merlyn's columns to the _p_e_r_l_f_a_q_2 manpage.
  163.  
  164.      18/March/97
  165.          Added the DATE to the NAME section, indicating which sections have
  166.          changed.
  167.  
  168.          Mentioned SIGPIPE and the _p_e_r_l_i_p_c manpage in the forking open answer
  169.          in the _p_e_r_l_f_a_q_8 manpage.
  170.  
  171.          Fixed description of a regular expression in the _p_e_r_l_f_a_q_4 manpage.
  172.  
  173.      17/March/97 Version
  174.          Various typos fixed throughout.
  175.  
  176.          Added new question on Perl BNF on the _p_e_r_l_f_a_q_7 manpage.
  177.  
  178.      Initial Release: 11/March/97
  179.          This is the initial release of version 3 of the FAQ; consequently
  180.          there have been no changes since its initial release.
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. PPPPEEEERRRRLLLLFFFFAAAAQQQQ((((1111))))                                                          PPPPEEEERRRRLLLLFFFFAAAAQQQQ((((1111))))
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.                                                                         PPPPaaaaggggeeee 4444
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.